home *** CD-ROM | disk | FTP | other *** search
/ User's Choice Windows CD / User's Choice Windows CD (CMS Software)(1993).iso / utility2 / wincmd.zip / WINCMC.ZIP / WINCMD.RC < prev    next >
Text File  |  1993-04-07  |  7KB  |  206 lines

  1. //===========================================================
  2. // WINCMD.RC - Resource script 
  3. // Copyright (C) 1993 Douglas Boling
  4. //===========================================================
  5.  
  6. #include "windows.h"
  7. #include "WinCmd.h"
  8.  
  9. WinCmdIcon ICON WinCmd.ico
  10. //---------------------------------------------------------
  11. // Main Window Menu Template
  12. //---------------------------------------------------------
  13. WinCmdMenu MENU {
  14.    POPUP "&File" {
  15.       MENUITEM "&Open Command File...",IDM_OPEN
  16.       MENUITEM SEPARATOR
  17.       MENUITEM "E&xit",                IDM_EXIT
  18.    }
  19.    POPUP "&Run" {
  20.       MENUITEM "Run &Program",         IDD_RUN
  21.       MENUITEM "&Step",                IDD_STEP
  22.       MENUITEM "&Reset Program",       IDD_RESET
  23.    }
  24.    POPUP "&View" {
  25.       MENUITEM "&Output Window",       IDM_SHOWOUT
  26.       MENUITEM "&List Window",         IDM_SHOWLIST
  27.       MENUITEM SEPARATOR
  28.       MENUITEM "&Clear output Window", IDM_CLEAROUT
  29.       MENUITEM "&Minimize on Run",     IDM_MINONRUN
  30.    }
  31.    POPUP "&Help" {
  32.       MENUITEM "&About...",            IDM_ABOUT
  33.    }
  34. }
  35.  
  36. //---------------------------------------------------------
  37. // About Box Dialog template
  38. //---------------------------------------------------------
  39. AboutBox DIALOG 23, 20, 140, 114
  40. CAPTION "About WinCmd"
  41. STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
  42. BEGIN
  43.    ICON "WinCmdIcon",                -1,  10,  10,  16,  16, WS_CHILD | WS_VISIBLE
  44.    CTEXT "WinCmd 1.0",               -1,  40,  12,  60,  10
  45.    CTEXT "A Command file Interpeter",-1,  10,  24, 120,  10
  46.    CTEXT "for Windows",              -1,  10,  36, 120,  10
  47.    CTEXT "Copyright \251 1993 Douglas Boling", 
  48.                                      -1,  10,  48, 120,  10
  49.    CTEXT   "First published in PC Magazine"
  50.                                  -1,  10,  60, 120,  10
  51.    CTEXT   "April 27, 1993"          -1,  10,  72, 120,  10
  52.    CTEXT   "US Edition Only"         -1,  10,  84, 120,  10
  53.    DEFPUSHBUTTON "OK",             IDOK,  50,  96,  40,  12
  54. END
  55.  
  56. //---------------------------------------------------------
  57. // Ask Box Dialog template
  58. //---------------------------------------------------------
  59. AskBox DIALOG 23, 20, 140, 103
  60. CAPTION "WinCmd"
  61. STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
  62. BEGIN
  63.    ICON "WinCmdIcon",                -1,  10,   5,  16,  16, WS_CHILD | WS_VISIBLE
  64.    LTEXT "",                IDD_ASKTEXT,  10,  24, 120,  36
  65.    EDITTEXT                  IDD_ASKANS,  10,  72, 120,  12, ES_AUTOHSCROLL
  66.    DEFPUSHBUTTON "OK",             IDOK,  20,  88,  40,  12
  67.    PUSHBUTTON "Cancel",        IDCANCEL,  80,  88,  40,  12
  68. END
  69. //---------------------------------------------------------
  70. // String table containing error messages
  71. //---------------------------------------------------------
  72. STRINGTABLE {
  73.    1,   "Syntax error"
  74.    2,   "Expected number"
  75.    3,   "Divide by zero" 
  76.    4,   "Unexpexted end of line" 
  77.    5,   "Illegal Assignment" 
  78.    6,   "No closing quote" 
  79.    7,   "Extra characters on the line" 
  80.    8,   "No closing parenthesis" 
  81.    9,   "No opening parenthesis" 
  82.    10,  "Unknown operator" 
  83.    11,  "Label defined more than once" 
  84.    12,  "Program completed"
  85.    13,  "RETURN outside of subroutine"
  86.    14,  "LEAVE outside loop" 
  87.    15,  "END without DO" 
  88.    16,  "Illegal SendKeys String"
  89.  
  90.    17,  "Out of variable space"
  91.    18,  "Out of system memory"
  92.    19,  "Source file too big"
  93.    20,  "Cannot open file"
  94.    21,  "Line too long"
  95.    22,  "Unexpected end of program"
  96.    23,  "Unknown command line switch"
  97.    24,  "Unknown symbol"
  98.    25,  "Variable name too long"
  99.    26,  "Can not lock system memory"
  100.    27,  "No timers available"
  101.    28,  "Overflow"
  102.    29,  "Source file too complex"
  103.    30,  "Not a WinCmd library"
  104.   
  105.    32,  "Launch Error: Out of system memory"
  106.    33,  "Launch Error: Windows error code 1"
  107.    34,  "Launch Error: File not found"
  108.    35,  "Launch Error: Path not found"
  109.    36,  "Launch Error: Windows error code 4"
  110.    37,  "Launch Error: File sharing error"
  111.    38,  "Launch Error: Library cannot be shared"
  112.    39,  "Launch Error: Windows error code 7"
  113.    40,  "Launch Error: Not enough memory for application"
  114.    41,  "Launch Error: Windows error code 9"
  115.    42,  "Launch Error: Bad Windows version"
  116.    43,  "Launch Error: Bad EXE format"
  117.    44,  "Launch Error: Program needs different Operating system"
  118.    45,  "Launch Error: Program designed for European DOS 4"
  119.    46,  "Launch Error: Unknown EXE type"
  120.    47,  "Launch Error: Cannot start Real Mode applicaiton"
  121.    48,  "Launch Error: Cannot start more than one instance"
  122.    49,  "Launch Error: Windows error code 17"
  123.    50,  "Launch Error: Windows error code 18"
  124.    51,  "Launch Error: EXE file compressed"
  125.    52,  "Launch Error: Windows error code 20"
  126.    53,  "Launch Error: Win 32 program"
  127.    
  128.    64,  "Invalid function"
  129.    65,  "File not found"
  130.    66,  "Path not found"
  131.    67,  "Too many open files"
  132.    68,  "Access denied"
  133.    69,  "Invalid handle"
  134.    70,  "Arena Trashed"
  135.    71,  "Not enough memory"
  136.    72,  "Invalid Block"
  137.    73,  "Bad environment"
  138.    74,  "Bad format"
  139.    75,  "Invalid access"
  140.    76,  "Invalid data"
  141.    77,  "File open error 0E"
  142.    78,  "Invalid drive"
  143.    79,  "Current directory"
  144.   
  145.    80,  "Not same device"
  146.    81,  "No more files"
  147.    82,  "Disk Write Protected"
  148.    83,  "Unknown unit"
  149.    84,  "Drive not ready"
  150.    85,  "Unknown command"
  151.    86,  "CRC Data Error"
  152.    87,  "Bad length"
  153.    88,  "Disk Seek error"
  154.    89,  "Not a DOS disk"
  155.    90,  "Sector not found"
  156.    91,  "Out of paper"
  157.    92,  "File Write fault"
  158.    93,  "File Read fault"
  159.    94,  "General failure"
  160.    95,  "File sharing violation"
  161.  
  162.    96,  "File lock violation"
  163.    98,  "Illegal Disk change"
  164.    99,  "File control block unavailable" 
  165.   100,  "Sharing buffer exceeded" 
  166.   101,  "Not supported" 
  167.   102,  "Remote not listed" 
  168.   103,  "Duplicate name" 
  169.   104,  "Bad netpath" 
  170.   105,  "Network busy" 
  171.   106,  "Device does not exist" 
  172.   107,  "Too many commands" 
  173.   108,  "Adaptor hardware error" 
  174.   109,  "Bad network response" 
  175.   110,  "Unexpected network error" 
  176.   111,  "Bad remote adaptor" 
  177.  
  178.   112,  "Print queue full" 
  179.   113,  "No spool space" 
  180.   114,  "Print canceled" 
  181.   115,  "Netname deleted" 
  182.   116,  "Network access denied" 
  183.   117,  "Bad device type" 
  184.   118,  "Bad network name" 
  185.   119,  "Too many names" 
  186.   120,  "Too many sessions" 
  187.   121,  "Sharing paused"
  188.   122,  "Request not accepted" 
  189.   123,  "Redirection paused" 
  190.   124,  "File exists" 
  191.   125,  "Duplicate file control block" 
  192.   126,  "Cannot make" 
  193.   127,  "Interrupt 24 failure" 
  194.  
  195.   128,  "Out of structures" 
  196.   129,  "Already assigned" 
  197.   130,  "Invalid password" 
  198.   131,  "Invalid parameter" 
  199.   132,  "Net write fault" 
  200.   
  201.   256,  "Unknown function name"
  202.   257,  "Callback error! Bad callback function number"
  203.   258,  "Not enough parameters for function"
  204. }   
  205.  
  206.